/**
 * Created by malingling on 15-12-15.
 */
app.controller ('SelectPeopleCtrl',function($scope,$location){
    $.ajaxSettings.async = false;
    $.getJSON('../json/people.json',function(data){
        $scope.people = data['people'];
    })

    $scope.back_to_menu = function(person) {
        $location.path('select_menu')
        localStorage.setItem ('person',person)
    }


})
